.SelectTriggerSmall {
  cursor: pointer;

  z-index: 15;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 24px;

  font-size: var(--font-size-s);
  line-height: var(--line-height-s);
  color: var(--color-light-100);

  background-color: var(--color-dark-900);
  border: 1px solid var(--color-dark-300);
  border-radius: 2px;

  > span {
    padding-left: 7px;
  }

  &:hover {
    background-color: var(--color-dark-500);
  }

  &:focus-visible {
    border: none;
    outline: 1px solid var(--color-info-700);
  }

  &[data-state='open'] .icon {
    transform: rotate(180deg);
    fill: var(--color-light-100);
    transition: 0.2s;
  }

  &[data-state='closed'] .icon {
    fill: var(--color-light-100);
    transition: 0.2s;
  }

  &[data-disabled] {
    color: var(--color-dark-300);
    background: none;
    border: 1px solid var(--color-dark-300);

    &:hover {
      background: none;
    }
  }

  &[data-disabled] .icon {
    fill: var(--color-dark-300);
  }
}

.SelectTrigger {
  cursor: pointer;

  z-index: 15;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 36px;

  font-size: var(--font-size-m);
  line-height: var(--line-height-m);
  color: var(--color-light-100);

  background-color: var(--color-dark-700);
  border: 1px solid var(--color-dark-300);
  border-radius: 2px;

  > span {
    padding-left: 7px;
  }

  &:hover {
    background-color: var(--color-dark-500);
  }

  &:focus-visible {
    border: none;
    outline: 1px solid var(--color-info-700);
  }

  &[data-state='open'] .icon {
    transform: rotate(180deg);
    margin-right: 12px;
    fill: var(--color-light-100);
    transition: 0.2s;
  }

  &[data-state='closed'] .icon {
    margin-right: 12px;
    fill: var(--color-light-100);
    transition: 0.2s;
  }

  &[data-disabled] {
    color: var(--color-dark-300);
    background: none;
    border: 1px solid var(--color-dark-300);

    &:hover {
      background: none;
    }
  }

  &[data-disabled] .icon {
    fill: var(--color-dark-300);
  }
}

.SelectContent {
  z-index: 100;

  width: var(--radix-select-trigger-width);

  background-color: var(--color-dark-900);
  border: 1px solid var(--color-dark-300);
  border-radius: 0 0 2px 2px;
}

.SelectItem {
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 36px;

  &[data-highlighted] > label {
    color: var(--color-accent-300);
  }

  &[data-highlighted] {
    color: var(--color-accent-300);
    background: var(--color-accent-900);
    outline: none;
    transition: all 0.5s;
  }
}

.SelectItemSmall {
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 24px;

  &[data-highlighted] > label {
    color: var(--color-accent-300);
  }

  &[data-highlighted] {
    font-size: var(--font-size-s);
    line-height: var(--line-height-s);
    color: var(--color-accent-300);

    background: var(--color-accent-900);
    outline: none;

    transition: all 0.5s;
  }
}

.typographyText {
  padding-left: 12px;
}

.typographyTextSmall {
  padding-left: 12px;
  font-size: var(--font-size-s);
  line-height: var(--line-height-s);
}

.typographyLabelDisabled {
  color: var(--color-dark-300);
}
